from selenium.webdriver.common.by import By
from pages.base_page import BasePage
from config.config import HOST
class CreditInfoPage(BasePage):
    # 添加应收款成功的提示语定位
    url='http://{}/crm/index.php?m=finance&a=view&t=receivables&id=9'.format(HOST)

    def get_credit_info_url(self):
        '''获取应收款详情页的url'''
        return self.current_url()
